9.8
CRITICAL CVSS 3.1
CVE-2017-5511
ImageMagick Heap-Based Buffer Overflow Vulnerability
Description

coders/psd.c in ImageMagick allows remote attackers to have unspecified impact by leveraging an improper cast, which triggers a heap-based buffer overflow.

INFO

Published Date :

March 24, 2017, 3:59 p.m.

Last Modified :

April 20, 2025, 1:37 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2017-5511 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Debian debian_linux
1 Imagemagick imagemagick
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 CRITICAL [email protected]
Solution
This vulnerability requires updating ImageMagick or GraphicsMagick software.
  • Update ImageMagick and GraphicsMagick packages to the latest versions.
Public PoC/Exploit Available at Github

CVE-2017-5511 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-5511.

URL Resource
http://www.debian.org/security/2017/dsa-3799 Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/01/16/6 Mailing List Patch Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/01/17/5 Mailing List Patch Third Party Advisory
http://www.securityfocus.com/bid/95746 Broken Link Third Party Advisory VDB Entry
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851374 Issue Tracking Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/7d65a814ac76bd04760072c33e452371692ee790 Issue Tracking Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42 Issue Tracking Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/issues/347 Issue Tracking Patch Third Party Advisory
https://security.gentoo.org/glsa/201702-09 Third Party Advisory
http://www.debian.org/security/2017/dsa-3799 Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/01/16/6 Mailing List Patch Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/01/17/5 Mailing List Patch Third Party Advisory
http://www.securityfocus.com/bid/95746 Broken Link Third Party Advisory VDB Entry
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851374 Issue Tracking Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/7d65a814ac76bd04760072c33e452371692ee790 Issue Tracking Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42 Issue Tracking Patch Third Party Advisory
https://github.com/ImageMagick/ImageMagick/issues/347 Issue Tracking Patch Third Party Advisory
https://security.gentoo.org/glsa/201702-09 Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-5511 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

CZ4062 Assignment

C Python

Updated: 7 years, 10 months ago
0 stars 1 fork 1 watcher
Born at : Oct. 18, 2017, 1:33 p.m. This repo has been linked 5 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-5511 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-5511 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3799
    Added Reference http://www.openwall.com/lists/oss-security/2017/01/16/6
    Added Reference http://www.openwall.com/lists/oss-security/2017/01/17/5
    Added Reference http://www.securityfocus.com/bid/95746
    Added Reference https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851374
    Added Reference https://github.com/ImageMagick/ImageMagick/commit/7d65a814ac76bd04760072c33e452371692ee790
    Added Reference https://github.com/ImageMagick/ImageMagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42
    Added Reference https://github.com/ImageMagick/ImageMagick/issues/347
    Added Reference https://security.gentoo.org/glsa/201702-09
  • Modified Analysis by [email protected]

    Jun. 27, 2024

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.debian.org/security/2017/dsa-3799 No Types Assigned http://www.debian.org/security/2017/dsa-3799 Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/95746 Third Party Advisory, VDB Entry http://www.securityfocus.com/bid/95746 Broken Link, Third Party Advisory, VDB Entry
    Changed Reference Type https://security.gentoo.org/glsa/201702-09 No Types Assigned https://security.gentoo.org/glsa/201702-09 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions up to (excluding) 6.9.7-3 *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:* versions from (including) 7.0.0-0 up to (excluding) 7.0.4-3
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3799 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201702-09 [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 27, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/issues/347 No Types Assigned https://github.com/ImageMagick/ImageMagick/issues/347 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851374 No Types Assigned https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851374 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2017/01/16/6 No Types Assigned http://www.openwall.com/lists/oss-security/2017/01/16/6 Mailing List, Patch, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2017/01/17/5 No Types Assigned http://www.openwall.com/lists/oss-security/2017/01/17/5 Mailing List, Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/95746 No Types Assigned http://www.securityfocus.com/bid/95746 Third Party Advisory, VDB Entry
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/commit/7d65a814ac76bd04760072c33e452371692ee790 No Types Assigned https://github.com/ImageMagick/ImageMagick/commit/7d65a814ac76bd04760072c33e452371692ee790 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/ImageMagick/ImageMagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42 No Types Assigned https://github.com/ImageMagick/ImageMagick/commit/c8c6a0f123d5e35c173125365c97e2c0fc7eca42 Issue Tracking, Patch, Third Party Advisory
    Added CWE CWE-119
    Added CPE Configuration OR *cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.36 }} -2.60%

score

0.78345

percentile